package com.stylefeng.guns.common.constant;

import java.text.SimpleDateFormat;

/**
 * 系统常量
 *
 * @author fengshuonan
 * @date 2017年2月12日 下午9:42:53
 */
public interface Const {

    String HIDE = "0";

    String DISPLAY = "1";
    /**
     * 系统默认的管理员密码
     */
    String DEFAULT_PWD = "111111";

    /**
     * 管理员角色的名字
     */
    String ADMIN_NAME = "administrator";

    /**
     * 管理员id
     */
    Integer ADMIN_ID = 1;

    /**
     * 超级管理员角色id
     */
    Integer ADMIN_ROLE_ID = 1;

    /**
     * 接口文档的菜单名
     */
    String API_MENU_NAME = "接口文档";

    /**
     * 激活
     */
    Integer STATE_ACTIVATION = 1;

    /**
     * 禁用
     */
    Integer STATE_DISABLE = 0;

    /**
     * 岗位类别的key
     */
    String POST_TYPE = "岗位类别";
    String POST_TYPE_CODE = "post_type";
    String LABOR_TYPE = "labor_type";
    String PERSON_STATES = "person_state";

    String IMPORT_TYPE_SYS = "手动录入";

    String IMPORT_TYPE_XML = "批量导入";

    /**
     * 人员类型
     */
    int JINGYING_RENYUAN = 1;
    int GUANLI_RENYUAN = 2;
    int JISHU_RENYUAN = 3;
    int JINENG_RENYUAN = 4;

    double NETWORK_UPPERLIMIT = 40;


    /**
     * 个人素质提升积分
     */
    //学历提升
    String DEGREE_TRAIN = "xueli";
    //技术资格
    String PRO_TECH_TRAIN= "jishu";
    //职业资格
    String PRO_QUALIFY_TRAIN = "zhiye";
    //执业资格
    String PRACTICE_TRAIN = "practice";
    String TRAIN_START = "start";

    String DICT_EXPERT = "expert";

    //项目培训积分规则
    String TRAINING_PROGRAM = "training_program";
    //师徒带
    String TEACHER = "teacher";
    String MASTER = "master";
    ///更新操作
    String OPERATION_UPDATE="operation_update";
    //添加操作
    String OPERATION_ADD="operation_ADD";
    //删除操作
    String OPERATION_DELETE="operation_delete";

    //国家级
    String EXPERT_COUNTRY = "country";
    String PROVINCE_VICE = "province_vice";
    String CITY_VICE = "city_vice";
    //国网公司级
    String EXPERT_STATEGRID = "stateGrid";
    //省级
    String EXPERT_PROVINCE = "province";
    //地市级
    String EXPERT_CITY = "city";

    //专家人才级别
    String LEVEL="level";
    //国家级人才称号
    String COUNTRY_LEVEL_PERSONNEL_TITLE="country_level_COUNTRY_LEVEL_PERSONNEL_TITLE";
    //省部（行业）级人才称号
    String PROVINCE_TRADE_LEVEL_PERSONNEL_TITLE="PROVINCE_TRADE_LEVEL_PERSONNEL_TITLE";
    //国网（公司）级人才称号
    String CHINA_NETWORK_LEVEL_PERSONNEL_TITLE="CHINA_NETWORK_LEVEL_PERSONNEL_TITLE";
    //地市（厅级）级人才称号
    String CITY_DEPART_LEVEL_PERSONNEL_TITLE="CITY_DEPART_LEVEL_PERSONNEL_TITLE";
    //省公司级人才称号
    String PROVINCE_COMPANY_LEVEL_PERSONNEL_TITLE="PROVINCE_COMPANY_LEVEL_PERSONNEL_TITLE";
    //地市公司级人才称号
    String CITY_COMPANY_LEVEL_PERSONNEL_TITLE="CITY_COMPANY_LEVEL_PERSONNEL_TITLE";


    //认证兼职培训师
    String TRAINER_LEVEL_AUTHENTICATION = "trainer_level_authentication";

    //优秀兼职培训师
    String TRAINER_LEVEL_EXCELLENT = "trainer_level_excellent";

    //项目制兼职培训师
    String TRAINER_LEVEL_PROJECT = "trainer_level_project";

    //周期制兼职培训师
    String TRAINER_LEVEL_CYCLE = "trainer_level_cycle";

    //
    String DICT_COMPANY_TYPE = "company_level";

    String DICT_CONTEST_TYPE = "jingsai";
    String DICT_WIN_TYPE = "huojiang";

    String DICT_TWO_LEVEL = "two_level_class";
    String DICT_PROJECT_LEVEL = "project_level";
    String DICT_CHECK_RESULT = "check_result";
    String DICT_TEST_RESULT = "test_result";
    String DICT_PRO_WORK = "pro_work";
    String DICT_GET_WAY = "get_way";
    String DICT_IS_SAME = "is_same";

    //师徒带，师傅积分类型
    String MENTORING_INTEGRAL_TYPE_MASTER_CODE = "mentoring_integral_type_master_code";
    String MENTORING_INTEGRAL_TYPE_MASTER_NAME = "师傅积分";
    //师徒带，徒弟积分类型
    String MENTORING_INTEGRAL_TYPE_APPRENTICE_CODE = "mentoring_integral_type_apprentice_code";
    String MENTORING_INTEGRAL_TYPE_APPRENTICE_NAME = "徒弟积分";

    String DEFAULT_CODE = "000000";

    SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");//设置日期格式
    String pattern = "yyyy-MM-dd";
}
